home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
126-150
/
disk_138
/
foreach
/
foreach.readme
< prev
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
31 lines
(I would be surprised if this haven't been written already, it isn't
that advanced, but I couldn't find it on my fishdisks.)
Here is a small program I wrote in just about 1.5 hours, after
being really fed up with having to do 15 compress <filename>
just because compress won't accept wildcards. Argh! (I just got
the sources, and have fixed that.. ;-) But, I found the program to
be useful for other things, so I kept it around. It probably is full
of bugs (it *is* short, but that never stopped me from writing buggy
programs.. Try TECO if you want to produce more bugs with one line of
code, than You thought was possible.. ) Anyway, You get the uuencoded
executable, together with the source, and this file. That is just
about all documentation You get. The program is called foreach, as in
"foreach #?.c compress -v" which will run compress (with flag -v) on
all files matching #?.c. It isn't blindingly fast, since I put a call
to Execute in there. It isn't *that* slow either. Considering the time
put into this You get it for free. (But when I write my *really* great
program I'll have you pay through the nose to get it.. ;-) However..
If I should happen to recieve email regarding obvious bugs or great
improvements, I would feel really happy. So please do.
Here's how to reach me.. (first one preferred)
jonasf@kuling.UUCP (domain: jonasf@kuling.uu.se)
flax@suadb.UUCP (domain: flax@suadb.kth.se possibly .su.se)
or:
Jonas Flygare
Vaktargatan 32 F:621
754 22 Uppsala